package com.lcj.OwnerMyBatis.sqlSession;

import java.sql.SQLException;
import java.util.List;

/**
 * @Author：liuchangjun
 * @Date：2021/10/27
 */
public interface SqlSession {

    public  <E> List<E> selectList(String statementId,Object... params) throws SQLException, Exception;

    public  <T> T selectOne(String statementId,Object... params) throws Exception;

    //为dao接口实现代理实现类

    public <T> T getMapper(Class<?> clazz);
}
